Fully Qualified Name: | Laminas\Mvc\Console\View\Renderer |
Implements: | RendererInterface, TreeRendererInterface |
Render console view models.
Name | Description | Defined By |
---|---|---|
__construct() | Constructor. | Renderer |
canRenderTrees() | Renderer | |
getEngine() | Return the template engine object. | Renderer |
getFilterChain() | Retrieve filter chain for post-filtering script content. | Renderer |
render() | Recursively processes all ViewModels and returns output. | Renderer |
setFilterChain() | Set filter chain o use for post-filtering script content. | Renderer |
setResolver() | Set the script resolver. | Renderer |
Constructor.
Parameter Name | Type | Description |
---|---|---|
$config | array | Configuration |
$filterChain |
Returns:
Returns: bool
Return the template engine object.
Returns the object instance, as it is its own template engine.
Returns: self
Retrieve filter chain for post-filtering script content.
Returns: null|\FilterChain
Recursively processes all ViewModels and returns output.
Parameter Name | Type | Description |
---|---|---|
$model | string|\ModelInterface | A |
$values | null|array|\Traversable | Values |
Returns: string Console output.
Set filter chain o use for post-filtering script content.
Parameter Name | Type | Description |
---|---|---|
$filters | \FilterChain |
Returns:
Set the script resolver.
No-op. Required by RendererInterface.
Parameter Name | Type | Description |
---|---|---|
$resolver | \ResolverInterface |
Returns: void